<template>
    <div>
        内部产品详情页
    </div>
</template>

<script>
export default {
    name: 'index',
    data() {
        return {
            productId: null
        }
    },
    created() {
        this.init()
    },
    methods: {
        init() {
            let productId = this.$route.params.productId
            // let { productId } = this.$route.query
            if (!productId) {
                console.log('拿不到产品ID')
                return
            }
            console.log('产品ID', productId)
            this.productId = productId
            this.getInfo()
        },
        getInfo() {

        }
    }
}
</script>

<style scoped>

</style>
